To address the lack of an effective method for generating test cases for Chinese text error correction software, and to measure and optimize the correction performance of software, a multi-user engineering-oriented method was designed, called Selective Generation Method of Test cases for Chinese text error Correction Software (SGMT-CCS). Two different criteria were defined for evaluating test cases that users can choose from: error quantity density and error type density. SGMT-CCS consists of three modules: test case automatic generation module, test case selection module, and test case priority sorting module. Users can: 1) customize the minimum error interval and the size of the test case set during the automated generation of test cases; 2) customize the minimum error interval and expected value during the selection process; 3) select different criteria for evaluating and prioritizing test cases to meet the requirements of different datasets. Experimental results show that SGMT-CCS can generate effective test cases in a short period of time. The selection module satisfies the user’s customized goals under simulated requirements, and the priority sorting module effectively improves test efficiency in different time periods under different evaluation criteria than before sorting.
YOLOv3 (You Only Look Once version 3) algorithm is widely used in target detection tasks. Although some improved algorithms based on YOLOv3 have achieved some results, there are still problems of insufficient representation ability and low detection accuracy, especially for the detection of small targets. In order to solve the above problems, a small target detection algorithm for remote sensing images based on YOLOv3 was proposed. Firstly, K-means Transformation (K-means-T) algorithm was used to optimize the size of anchor box, so that the matching degree between the priori box and ground truth box was improved. Secondly, the confidence loss function was optimized to solve the problem of uneven distribution of hard and easy samples. Finally, attention mechanism was introduced to improve the algorithm’s ability to perceive the detailed information. Results of the experiments carried out on RSOD dataset show that compared with the original YOLOv3 algorithm and YOLOv4 algorithm, the proposed algorithm has the detection Average Precision (AP) on the small target class “aircraft” increased by 7.3 percentage points and 5.9 percentage points respectively, illustrating that the proposed improved algorithm can detect small targets in remote sensing images effectively, with higher accuracy.
Visual Background extractor (ViBe)model for moving target detection cannot avoid interference caused by irregular flicker pixels noise in dynamic outdoor scenes. In order to solve the issue, a flicker pixels noise-suppression method based on ViBe model algorithm was proposed. In the initial stage of background model, a fixed standard deviation of background model samples was used as the threshold value to limit the range of background model samples and get suitable background model samples for each pixel. In the foreground detection stage, an adaptive detection threshold was applied to improve the accuracy of detection result. Edge inhibition of image edge background pixels was executed to avoid error background sample values updating to the background model in the background model update process. On the basis of above, morphological operation was added to fix connected components to get more complete foreground images. Finally, the proposed method was compared with the original ViBe algorithm and the ViBe's improvement with morphology post-processing on the results of multiple video sequences. The experimental results show that the flicker pixels noise-suppression method can suppress flicker pixels noise effectively and get more accurate results.
On the private cloud platform, it cannot be flexible to monitor and distribute the virtual machine memory resources effectively using the existing methods. To solve this problem, a Memory Monitor and Scheduler (MMS) model was put forward. And the real-time monitoring and dynamic scheduling of the virtual machine memory shortage and memory free were realized by using the libvirt function library and libxc function library provided by Xen. A small private cloud platform was built using Eucalyptus with regarding one physical machine as master node and two physical machines as child nodes. In the experiments, when the state of host was in memory shortage, MMS system effectively released the memory space by starting the virtual machine migration strategy; when the memory of the virtual machine was approaching the initial maximum memory, MMS system assigned it with a new maximum memory; when the occupied memory decreased, MMS system recycled part of free memory resource, which has little effect on the performance of virtual machines if the release memory did not exceed 150MB (maximum memory is 512MB). The results show that the MMS model of private cloud platform is effective for real-time monitoring and dynamic scheduling of the memory.